package com.jhgk.jhcee.system.domain.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jhgk.jhcee.data.auth.entity.SysMenuInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description:
 * @Author: lemon_xzp
 * @Date: 2021/9/22 22:13
 */
@Data
public class SysMenuMetaRelationModel extends SysMenuInfo {

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty(value = "隐藏子菜单")
    @TableField("hide_children_in_menu")
    private Boolean hideChildrenInMenu;

    @ApiModelProperty(value = "隐藏菜单")
    @TableField("hide_menu")
    private Boolean hideMenu;

    @ApiModelProperty(value = "隐藏导航")
    @TableField("hide_breadcrumb")
    private Boolean hideBreadcrumb;

    @ApiModelProperty(value = "当前活动菜单")
    @TableField("current_active_menu")
    private String currentActiveMenu;

    @ApiModelProperty(value = "忽视保持")
    @TableField("ignore_keep_alive")
    private Boolean ignoreKeepAlive;

    @ApiModelProperty(value = "展示菜单")
    @TableField("show_menu")
    private Boolean showMenu;

    @ApiModelProperty(value = "外部src")
    @TableField("frame_src")
    private String frameSrc;

    // 子菜单
    private List<SysMenuMetaRelationModel> children;
}
